<in name="ChannelID" value="1,2">
	<!--页眉开始-->
    <div id="header">
    	<eq name="TShowLogo" value="1">
			<!--Logo 开始-->
			<div class="logo">
			   <notempty name="WebLogo">
					 <div class="WebLogo"><img src="{$WebLogo}"  /></div>
			   </notempty>
			</div>
			<!--Logo 结束-->
        </eq>
        
        <!--幻灯片 开始-->
        <div id="banner">
            <ul class="swiper-wrapper">
                  <bannerlist id="b" bannergroupid="$T1">
                      <li class="swiper-slide">
                          <notempty name="b.BannerUrl">
                              <a href="{$b.BannerUrl}"><img src="{$b.BannerImage}"  /></a>
                          <else/>
                              <img src="{$b.BannerImage}" />
                          </notempty>
                      </li>
                  </bannerlist>
            </ul>
            <div class="swiper-pagination"></div>
        </div>
        <script type="text/javascript">
			$(document).ready(function() {
				var swiper = new Swiper( '#banner', {
					pagination: '.swiper-pagination',
					paginationClickable: true,       //是否切换到当前图片对应的li 添加事件
					spaceBetween: 0,                 // 每个元素之间的 右外边距。 取值为number
					centeredSlides: true,            // 设置元素位置  取值 true:居中 / 取值 false:居左
					autoplay: 2500,                  //　自动轮播的间隔设置 单位 (ms)
					autoplayDisableOnInteraction: false,  //设置滑动元素后是否自动轮播　取值 false 是启动 / 取值true 不启动
				});
			});
		</script>
        <!--幻灯片 结束-->
    </div>
<else/>
    <!--顶部开始-->
    <div id="top">
        <!--频道导航 开始-->
        <script>
        window.onload = function (){
            var oWin = document.getElementById("window");
            var oLay = document.getElementById("overlay");	
            var oBtn = document.getElementById("popmenu");
            var oClose = document.getElementById("close");
            oBtn.onclick = function (){oLay.style.display = "block";oWin.style.display = "block"	};
            oLay.onclick = function (){oLay.style.display = "none";oWin.style.display = "none"	}
        };
        </script>
        <div style="margin-bottom:55px;">
            <div id="toolbar">
                <div class="fixed">
                    <a class="ui-title" id="popmenu">{$ChannelName}</a>
                    <a class="ui-btn-back" href="javascript:history.go(-1)"></a>
                    <a class="ui-btn-home" href="{:HomeUrl()}"></a>
                </div>
            </div>
            <div id="overlay"></div>
            <div id="window">
                <ul class="windowlist">
                <navigationlist id="f" channelid='0' prefix="" depth="1" offset="1">
                     <li><a  href="{$f.ChannelUrl}"><span>{$f.ChannelName}</span></a></li>
                </navigationlist>
                <div class="clear"></div>
                </ul>
            </div>
        </div>
        <!--频道导航 结束-->
    </div>
    <!--顶部结束-->
</in>